package com.dfbz.service.impl;

import com.dfbz.dao.DeptDao;
import com.dfbz.model.Dept;
import com.dfbz.service.DeptService;

import java.util.List;

public class DeptServiceImpl implements DeptService {

    private DeptDao deptDao=new DeptDao();
    @Override
    public List<Dept> getAll() {
        return deptDao.findAll();
    }


}